package com.edu.dao;

import com.edu.pojo.Announcement;
import com.edu.pojo.Suggestion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 添加建议
 * 查询建议
 * 删除建议
 */
public interface SuggestionMapper {
    int addSuggestion(Suggestion suggestion);

    List<Suggestion> queryAllSuggestion();

    int deleteSuggestionById(@Param("AnID") int id);

    int addReply(@Param("reply") String reply,@Param("id") int id);

    Suggestion querySuggestionById(@Param("id") int id);

}
